package com.woniu.his.mms.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 药品退药目录记录
 * </p>
 *
 * @author ZJH
 * @since 2022-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mms_drug_refund_item_record")
public class DrugRefundItemRecord implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 草药状态 退药REFUND  未退药NOT_REFUND
     */
    private String statusDrugRefund;

    /**
     *  类型 草药 HELBAL 成药 MEDICINE 
     */
    private String type;

    /**
     * 病历id
     */
    private Long caseHistoryId;

    /**
     * 药品id
     */
    private Long drugId;

    /**
     * 退药单位 几盒药
     */
    private String refundNumUnit;

    /**
     * 退款数量
     */
    private Long refundNum;

    /**
     * 退款时间
     */
    private Date refundTime;

    /**
     * 退药人id
     */
    private Long excutorId;

    /**
     * 退-拿药条目-id
     */
    private Long refundItemRecordId;


}
